#include <iostream>
using namespace std;
//函数声明
double power(double x, int n);
int main()
{
    double x;
    int n;
    double val;
    cin >> x;
    cin >> n;
    val = power(x, n);

    cout << val << endl;
    system("pause");
    return 0;
}

double power(double x, int n)
{
    double val = 1.0;
    while (n--)
    {
        val *= x;
    }
    return val;
}